// // import { createApp } from 'vue'
// import './style.css'
// import App from './App.vue'
// import ElementUI from 'element-plus';
// import 'element-plus/dist/index.css'



// // createApp(App).mount('#app')

// // #ifdef H5
// import { createSSRApp as createVueApp } from 'vue'

// export function createApp() {
//   const app = createVueApp(App)
//   app.component('element-ui',ElementUI)
//   app.mount('#app')
//   return {
//     app
//   }
// }
// // #endif


// main.ts
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './router'
import  useStore  from './store';



const app = createApp(App)

app.use(ElementPlus)
app.use(router)
app.use(useStore)
app.mount('#app')
